package com.dxy.data.webcloud.testclient.feign.fallback;

import com.dxy.data.webcloud.testclient.feign.Up2uService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @CLassName: Up2uServiceFallback
 * @Author: weixin
 * @Description: TODO
 * @DATE: 2018/11/11 4:40 PM
 * @Version: 1.0
 */
@Component
public class Up2uServiceFallback implements Up2uService {

    private static Logger logger = LoggerFactory.getLogger(Up2uServiceFallback.class);

    @Override
    public String test() {
        logger.error("接口异常");
        return "error";
    }
}
